Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development


Using the Dynamic property sheet to set properties

You can also set properties in the new dynamic properties sheet by selecting it from the AppBuilder’s Window menu. This shows all properties for the selected object and lets you set properties for it or select other objects in the same container. Figure 3–5 shows some of the properties for the CustNum field in the customerviewv viewer.

Figure 3–5: Dynamic properties sheet

This property sheet is described in detail in OpenEdge Development: Progress Dynamics Basic Development , but it is useful to point out a few things in this example:

So to summarize, the level at which you set attributes depends not on the tool you are using, but on the context of where you are using it.

If you create or edit a viewer in the AppBuilder and set one or more viewer attributes, either in the viewer property sheet provided by the AppBuilder or in the dynamic property sheet you can run from it, you are setting attributes at the master level for the object you are creating.

If you define attributes for a DataField object in the Repository Maintenance tool, you are also doing it at the master level for all uses of the field.

On the other hand, if you bring up the custom property sheet in the AppBuilder for a field or widget of a specific type, such as the one you saw for the CustNum field, you are defining attributes of that field as used in that particular viewer. So you are defining attribute values at the instance level. Any such settings will be seen only in the context of the viewer you are editing.

Likewise, if you use the dynamic property sheet to define attribute values for fields in a viewer, the same thing is true: you are defining instance attribute values.

To move the discussion up a level in the object hierarchy, if you are creating a container window in the Container Builder, you can click the Container Properties button to set property values for the window itself, as shown:

These are values at the master level, because you are defining property values for the window you are currently creating:

On the other hand, if you bring up the property sheet for one of the viewers or other objects you place into the container, then you are defining values at the instance level for the object.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095